By starting the Office software from the command line you can assign various parameters, with which you can influence the performance. The use of command line parameters is only recommended for experienced users.
Office ソフトウェアをコマンド行から起動する場合、各種のパラメータを指定することで、様々な機能設定を行えます。ただし、こうしたコマンド行パラメータを使用するには、ある程度の熟練が必要です。
![]() | For normal handling, the use of command line parameters is not necessary. A few of the parameters require a deeper knowledge of the technical background of the Office software technology.
通常の操作を行うのであれば、特にコマンド行パラメータを使う必要はありません。パラメータの中には、Office ソフトウェアテクノロジに関する詳細な知識を必要とするものもあります。 |
Under Windows, select Run from the Windows Start menu, or open a Shell under UNIX® based platforms.
Windows の場合は、Windows のスタートメニューで ファイル名を指定して実行 を選択し、UNIX ベースのプラットフォームの場合は、シェルを起動します。
Under Windows, type the following text in the Open text field and click OK.
Windows の場合は、下記のテキストをテキストフィールド 名前 に入力して OK をクリックします。
Under UNIX based systems, type the following line of text, then press Return:
UNIX ベースのシステムの場合は、下記のテキストを入力して Return キーを押します。
{install}\program\soffice.exe {parameter} {install}/program/soffice {parameter}
{install}\program\soffice.exe {parameter}{install}/program/soffice {parameter}
Replace {install} with the path to your installation of the Office software (for example, C:\Program Files\Office, or ~/office)
{インストール} 部には、使用環境における Office ソフトウェアのインストールパスを指定します (たとえば C:\Program Files\Office や ~/office など)。
Where required, replace {parameter} with one or more of the following command line parameters.
同じく {パラメータ} 部には、必要に応じて下記のコマンド行パラメータを指定します (複数指定可能)。
|
Parameter
|
Meaning
|
|
-help / -h / -?
|
Lists the available command line parameters in a dialog boxto the console.
|
|
-writer
|
Starts with an empty Writer document.
|
|
-calc
|
Starts with an empty Calc document.
|
|
-draw
|
Starts with an empty Draw document.
|
|
-impress
|
Starts with an empty Impress document.
|
|
-math
|
Starts with an empty Math document.
|
|
-global
|
Starts with an empty Writer master document.
|
|
-web
|
Starts with an empty HTML document.
|
|
-show {filename.odp}
|
Starts with the Impress file {filename.odp} and starts the presentation. Enters edit mode after the presentation.
|
|
-minimized
|
Starts minimized. The splash screen is not displayed.
|
|
-maximized
|
Starts maximized.
|
|
-invisible
|
Starts in invisible mode.
Neither the start-up logo nor the initial program window will be visible. However, the Office software can be controlled and documents and dialogs opened via the API.
When the Office software has been started with this parameter, it can only be ended using the taskmanager (Windows) or the kill command (UNIX based systems).
It cannot be used in conjunction with -quickstart.
More information is found in the Office Developer's Guide.
|
|
-nocrashreport
|
Disables the error report tool.
|
|
-norestore
|
Disables restart and file recovery after a system crash.
|
|
-nofirststartwizard
|
Disables the Welcome Wizard.
|
|
-quickstart
|
Activates the Quickstarter.
|
|
-accept={UNO string}
|
Notifies the Office software that upon the creation of "UNO Acceptor Threads", a "UNO Accept String" will be used.
More information is found in the Office Developer's Guide.
|
|
-env
|
Sets another environment for the program start.
Use soffice -env:UserInstallation=$(URL) where $(URL) is the URL of a folder that contains the "user" folder.
|
|
-p {filename1} {filename2} ...
|
Prints the files {filename1} {filename2} ... to the default printer and ends. The splash screen does not appear.
If the file name contains spaces, then it must be enclosed in quotation marks.
|
|
-pt {Printername} {filename1} {filename2} ...
|
Prints the files {filename1} {filename2} ... to the printer {Printername} and ends. The splash screen does not appear.
If the file name contains spaces, then it must be enclosed in quotation marks.
|
|
-o {filename}
|
Opens {filename} for editing, even if it is a template.
|
|
-view {filename}
|
Creates a temporary copy of {filename} and opens it read-only.
|
|
-n {filename}
|
Creates a new document using {filename} as a template.
|
|
-nologo
|
Disables the splash screen at program start.
|
|
-nodefault
|
Starts without displaying anything except the splash screen.
|
|
-nofirststartwizard
|
Add this parameter to the program start command to suppress the Welcome Wizard.
|
|
-display {display}
|
Sets the DISPLAY environment variable on UNIX based platforms to the value {display}. This parameter is only supported by the start script for the Office software on UNIX based platforms.
|
|
-headless
|
Starts in "headless mode" which allows using the application without user interface.
This special mode can be used when the application is controlled by external clients via the API.
|